#pragma once

class CClient
{
public:
	CComPtr<IWDFFile>		m_spClientID;		// we use the "IWDFFile" pointer as
												// unique identifier for the client
	map<wstring, CSensor*>	m_mapSensors;		// the sensors in which this client is
												// interested

	CClient(IWDFFile *pID);

	bool AddSensor(CSensor *pSensor);
	bool AddSensor(LPWSTR pwszSensorID);
	bool RemoveSensor(LPWSTR pwszSensorID);
	CSensor *GetSensor(LPWSTR pwszSensorID);
	ULONG GetSensorsCount();
};
